Add some missing symbols.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 23 May 2007 17:49:34 +0000 (17:49 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 23 May 2007 17:49:34 +0000 (17:49 +0000)
2007-05-23   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gdk/x11/xsettings-common.h:
        * gdk/gdk.symbols: Add some missing symbols.

        * gtk/paper_names_offsets.c:
        * gtk/gen-paper-names.c: Make variables static.

        * gtk/gtktooltip.[hc]:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkscalebutton.c:  Fix up symbol aliasing.

svn path=/trunk/; revision=17899

12 files changed:
ChangeLog
docs/reference/ChangeLog
docs/reference/gtk/gtk-sections.txt
gdk/gdk.symbols
gdk/x11/xsettings-common.h
gtk/gen-paper-names.c
gtk/gtk.symbols
gtk/gtkscalebutton.c
gtk/gtktooltip.c
gtk/gtktooltip.h
gtk/gtkvolumebutton.c
gtk/paper_names_offsets.c

index 1950572e7b6bcd4de25e48b16d861c00caf515d5..4a75baa967dd71b215a000351a8e1422a9b60c00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2007-05-23   Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk.symbols: 
+       * gdk/x11/xsettings-common.h: 
+       * gdk/gdk.symbols: Add some missing symbols.
+
+       * gtk/paper_names_offsets.c:
+       * gtk/gen-paper-names.c: Make variables static.
+
+       * gtk/gtktooltip.[hc]:
+       * gtk/gtkvolumebutton.c:
+       * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
+
 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
 
        * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
index 1e0ceea86fa61a1e0e9899af62ece525969ec647..7e4276b8749992c9b8af1cadcf89ec874559be21 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk-sections.txt:
+       * gdk/gdk-sections.txt: Updates
+
 2007-05-20  Bastien Nocera  <hadess@hadess.net>
 
        * gtk/gtk-docs.sgml: Add missing docs for the
index 13a37c5d0efb4a0ebe1ccc95c44d20080d109bde..37fbeea6d358f546b5f790e5c061cccc832c9f0b 100644 (file)
@@ -8,6 +8,8 @@ GtkAboutDialog
 gtk_about_dialog_new
 gtk_about_dialog_get_name
 gtk_about_dialog_set_name
+gtk_about_dialog_get_program_name
+gtk_about_dialog_set_program_name
 gtk_about_dialog_get_version
 gtk_about_dialog_set_version
 gtk_about_dialog_get_copyright
@@ -178,6 +180,7 @@ gtk_action_activate
 gtk_action_create_icon
 gtk_action_create_menu_item
 gtk_action_create_tool_item
+gtk_action_create_menu
 gtk_action_connect_proxy
 gtk_action_disconnect_proxy
 gtk_action_get_proxies
@@ -1164,6 +1167,7 @@ gtk_entry_completion_set_match_func
 gtk_entry_completion_set_minimum_key_length
 gtk_entry_completion_get_minimum_key_length
 gtk_entry_completion_complete
+gtk_entry_completion_get_completion_prefix
 gtk_entry_completion_insert_prefix
 gtk_entry_completion_insert_action_text
 gtk_entry_completion_insert_action_markup
@@ -1172,6 +1176,8 @@ gtk_entry_completion_set_text_column
 gtk_entry_completion_get_text_column
 gtk_entry_completion_set_inline_completion
 gtk_entry_completion_get_inline_completion
+gtk_entry_completion_set_inline_selection
+gtk_entry_completion_get_inline_selection
 gtk_entry_completion_set_popup_completion
 gtk_entry_completion_get_popup_completion
 gtk_entry_completion_set_popup_set_width
@@ -5225,6 +5231,8 @@ gtk_window_set_skip_pager_hint
 gtk_window_set_urgency_hint
 gtk_window_set_accept_focus
 gtk_window_set_focus_on_map
+gtk_window_set_startup_id
+gtk_window_set_role
 gtk_window_get_decorated
 gtk_window_get_deletable
 gtk_window_get_default_icon_list
index ae345865414a6fcaeee66b29083da6837583e213..56722e7cb684358b9318f830e5467a6a524cd6fe 100644 (file)
@@ -324,6 +324,7 @@ gdk_colormap_ref
 gdk_colormap_unref
 #endif
 gdk_color_parse
+gdk_color_to_string
 #endif
 #endif
 
@@ -1175,6 +1176,8 @@ gdk_x11_display_get_xdisplay
 gdk_x11_display_grab
 gdk_x11_display_ungrab
 gdk_x11_lookup_xdisplay
+gdk_x11_display_broadcast_startup_message
+gdk_x11_display_get_startup_notification_id
 #endif
 
 #if IN_FILE(__GDK_DRAWABLE_X11_C__)
index 5a2c3328ec4541e5454235372ce95649e52f91bb..1479f299ada672cd56aaf08a6afa7a137fea4b27 100644 (file)
@@ -33,6 +33,7 @@ extern "C" {
 #define xsettings_client_destroy         _gdk_xsettings_client_destroy
 #define xsettings_client_get_setting     _gdk_xsettings_client_get_setting
 #define xsettings_client_new             _gdk_xsettings_client_new
+#define xsettings_client_new_with_grab_funcs _gdk_xsettings_client_new_with_grab_funcs
 #define xsettings_client_set_grab_func   _gdk_xsettings_client_set_grab_func
 #define xsettings_client_set_ungrab_func _gdk_xsettings_client_set_ungrab_func
 #define xsettings_client_process_event   _gdk_xsettings_client_process_event
index 1bd47fe77f746bf70d54c24609f2f72e39260a52..c3e9c910c649a039e57bcd066bcca03b5a9a5cbb 100644 (file)
@@ -188,7 +188,7 @@ main (int argc, char *argv[])
   printf ("#endif\n\n");
 
   /* write strings */
-  printf ("const char paper_names[] =");
+  printf ("static const char paper_names[] =");
   for (i = 0; i < n_names; i++)
     {
       if (names[i].suffix == -1)
@@ -204,7 +204,7 @@ main (int argc, char *argv[])
          "  int display_name;\n"
          "  int ppd_name;\n"
          "} PaperInfo;\n\n"
-          "const PaperInfo standard_names_offsets[] = {\n");
+          "static const PaperInfo standard_names_offsets[] = {\n");
 
   for (i = 0; i < n_infos; i++)
     {
@@ -224,7 +224,7 @@ main (int argc, char *argv[])
 
   /* dump extras */
 
-  printf ("const struct {\n"
+  printf ("static const struct {\n"
          "  int ppd_name;\n"
          "  int standard_name;\n"
          "} extra_ppd_names_offsets[] = {\n");
index 1d398d2ed1a5363bd0be29c5d73b7cf1247d1402..9f7e02fe15c988f32f46d5b8fb928db412d4882a 100644 (file)
@@ -33,7 +33,12 @@ gtk_about_dialog_get_documenters
 gtk_about_dialog_get_license
 gtk_about_dialog_get_logo
 gtk_about_dialog_get_logo_icon_name
+#ifndef GTK_DISABLE_DEPRECATED
 gtk_about_dialog_get_name
+gtk_about_dialog_set_name
+#endif
+gtk_about_dialog_get_program_name
+gtk_about_dialog_set_program_name
 gtk_about_dialog_get_translator_credits
 gtk_about_dialog_get_type G_GNUC_CONST
 gtk_about_dialog_get_version
@@ -50,7 +55,6 @@ gtk_about_dialog_set_email_hook
 gtk_about_dialog_set_license
 gtk_about_dialog_set_logo
 gtk_about_dialog_set_logo_icon_name
-gtk_about_dialog_set_name
 gtk_about_dialog_set_translator_credits
 gtk_about_dialog_set_url_hook
 gtk_about_dialog_set_version
@@ -140,6 +144,7 @@ gtk_action_connect_proxy
 gtk_action_create_icon
 gtk_action_create_menu_item
 gtk_action_create_tool_item
+gtk_action_create_menu
 gtk_action_disconnect_accelerator
 gtk_action_disconnect_proxy
 gtk_action_get_accel_closure
@@ -259,6 +264,7 @@ gtk_corner_type_get_type G_GNUC_CONST
 gtk_debug_flag_get_type G_GNUC_CONST
 gtk_delete_type_get_type G_GNUC_CONST
 gtk_dest_defaults_get_type G_GNUC_CONST
+gtk_drag_result_get_type G_GNUC_CONST
 gtk_clist_drag_pos_get_type G_GNUC_CONST
 gtk_dialog_flags_get_type G_GNUC_CONST
 gtk_direction_type_get_type G_GNUC_CONST
@@ -1222,7 +1228,9 @@ gtk_entry_completion_complete
 gtk_entry_completion_delete_action
 gtk_entry_completion_get_entry
 gtk_entry_completion_get_inline_completion
+gtk_entry_completion_get_inline_selection
 gtk_entry_completion_get_minimum_key_length
+gtk_entry_completion_get_completion_prefix
 gtk_entry_completion_get_model
 gtk_entry_completion_get_popup_completion
 gtk_entry_completion_get_popup_set_width
@@ -1234,6 +1242,7 @@ gtk_entry_completion_insert_action_text
 gtk_entry_completion_insert_prefix
 gtk_entry_completion_new
 gtk_entry_completion_set_inline_completion
+gtk_entry_completion_set_inline_selection
 gtk_entry_completion_set_match_func
 gtk_entry_completion_set_minimum_key_length
 gtk_entry_completion_set_model
@@ -4742,6 +4751,7 @@ gtk_window_set_default_size
 gtk_window_set_destroy_with_parent
 gtk_window_set_focus
 gtk_window_set_focus_on_map
+gtk_window_set_startup_id
 gtk_window_set_frame_dimensions
 gtk_window_set_geometry_hints
 gtk_window_set_gravity
index 1ac3db438ee8698f04b6fc45f4065455866092dc..822913e1a1acc0d29dcacf924f18af904c33583c 100644 (file)
@@ -56,6 +56,8 @@
 #include <gdk/gdkkeysyms.h>
 #include "gtkscalebutton.h"
 
+#include "gtkalias.h"
+
 #define SCALE_SIZE 100
 #define CLICK_TIMEOUT 250
 
@@ -1241,6 +1243,6 @@ gtk_scale_button_scale_value_changed (GtkRange *range)
   g_object_notify (G_OBJECT (button), "value");
 }
  
-/*
- * vim: sw=2 ts=8 cindent noai bs=2
- */
+
+#define __GTK_SCALE_BUTTON_C__
+#include "gtkaliasdef.c"
index 15dfce9e3e0f8b9ba4bd75305dd9239c0ddc06d4..bfcf7436bf58c1d1db28c26b24ab594d4706c88e 100644 (file)
@@ -29,6 +29,8 @@
 #include "gtkhbox.h"
 #include "gtkalignment.h"
 
+#include "gtkalias.h"
+
 #include <string.h>
 
 
@@ -1065,3 +1067,7 @@ _gtk_tooltip_handle_event (GdkEvent *event)
        break;
     }
 }
+
+
+#define __GTK_TOOLTIP_C__
+#include "gtkaliasdef.c"
index 69b53e76701963b73f8a50e381dc4621057c4035..fe45ac171bd05db5b9d9fadd1b9852e474bd92ef 100644 (file)
@@ -19,8 +19,8 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#ifndef __GTK_TOOLTIP__
-#define __GTK_TOOLTIP__
+#ifndef __GTK_TOOLTIP_H__
+#define __GTK_TOOLTIP_H__
 
 #include "gtkwidget.h"
 #include "gtkwindow.h"
@@ -52,4 +52,4 @@ void _gtk_tooltip_hide                 (GtkWidget   *widget);
 
 G_END_DECLS
 
-#endif /* __GTK_TOOLTIP__ */
+#endif /* __GTK_TOOLTIP_H__ */
index d9139971792bbc13e619f002c8ca14b59e39534e..52bc9aebb5aa45cd865f0f2202cc1b227375d7f7 100644 (file)
@@ -36,6 +36,9 @@
 #include "gtktooltips.h"
 #include "gtkstock.h"
 
+#include "gtkalias.h"
+
+
 struct _GtkVolumeButton
 {
   GtkScaleButton  parent;
@@ -171,6 +174,6 @@ cb_value_changed (GtkVolumeButton *button, gdouble value, gpointer user_data)
   gtk_volume_button_update_tooltip (button);
 }
 
-/*
- * vim: sw=2 ts=8 cindent noai bs=2
- */
+
+#define __GTK_VOLUME_BUTTON_C__
+#include "gtkaliasdef.c"
index 2d213ddff6af7d2f16fc831519793793d963debc..c640c8c8884941f693a033b69d59c424134e162e 100644 (file)
@@ -331,7 +331,7 @@ N_("paper size|ROC 16k")
 N_("paper size|ROC 8k")
 #endif
 
-const char paper_names[] =
+static const char paper_names[] =
   "asme_f\0"
   "iso_2a0\0"
   "A0x2\0"
@@ -695,7 +695,7 @@ typedef struct {
   int ppd_name;
 } PaperInfo;
 
-const PaperInfo standard_names_offsets[] = {
+static const PaperInfo standard_names_offsets[] = {
   {    0, 711.2, 1016,    0,   -1 },
   {    7, 1189, 1682,   15,   -1 },
   {   20, 841, 1189,  918,  918 },
@@ -862,7 +862,7 @@ const PaperInfo standard_names_offsets[] = {
   { 3138, 273.05, 393.7, 3145,   -1 },
 };
 
-const struct {
+static const struct {
   int ppd_name;
   int standard_name;
 } extra_ppd_names_offsets[] = {